package com.hzw.saas.web.sso.exception;

import com.hzw.saas.common.config.exception.DefaultSaasException;
import org.springframework.http.HttpStatus;

/**
 * @author sonam
 * @sine 2021/11/10 4:53 下午
 */
public class SaasOauthException extends DefaultSaasException {

    public SaasOauthException(String message) {
        super(message);
    }

    public SaasOauthException(String message, Throwable cause) {
        super(message, cause);
    }

    @Override
    public HttpStatus getHttpStatus() {
        return HttpStatus.BAD_REQUEST;
    }
}
